package edu.ThreadDemo;
public class ThreadDemo extends Thread{
 		public void run() {
 			for(int i=0;i<=10000;i++) {
 				System.out.print(i+",");
 			}
 			System.out.println(this.currentThread().getName());
 		}
 	}
